<?php
global $_RQ,$_AR;
//获取商户ID
$_SESSION['logout_forward']='jy_peimilk/login/';
$_SESSION['forward_url']='jy_peimilk/merch.index/'; 
$merchid=plugin('jy_merch')->checklogin($_RQ['merchid']);
$merch=pdo_get('jy_merch_user',array('id'=>$merchid,'uniacid'=>$_SESSION['uniacid']));
if($merchid){
	$_SESSION['onemerchid']=$merchid;
}
$return['plugin_icon']=$merch['logo'];
$return['newheader']=1;
?>